<%@ page contentType="text/html; charset=UTF-8" %>
<%@page import="net.lunjin.util.Constants"%>
<%@page import="net.lunjin.util.ProjectUtil"%>
<%@page import="finaler.util.PageList"%>
<%@page import="finaler.util.PageUtil"%>
<%@page import="java.util.List"%>
<%@page import="net.lunjin.bean.News"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><%=ProjectUtil.getNewsTitleKeywords(request.getAttribute("newsType").toString()) %></title>
<meta name="keywords" content="<%=ProjectUtil.getNewsTitleKeywords(request.getAttribute("newsType").toString()) %>">
<meta name="description" content="<%=ProjectUtil.getNewsMetadescription(request.getAttribute("newsType").toString())  %>">
<jsp:include page="/commonImport.jsp"/>
</head>
<%
PageList newsList = (PageList) request.getAttribute("newsList");
%>
<body class="articlelist">

<jsp:include page="/top.jsp"/>

<div class="w960 center clear mt1">
	<div class="indexpleft">
		<div class="place">
			<strong>当前位置:</strong> <a href='<%=Constants.URL %>'>交易平台评测网</a> > <a href='<%=Constants.URL %>/news/type_<%=request.getAttribute("newsType") %>/'><%=ProjectUtil.getNewsType(request.getAttribute("newsType").toString()) %></a> > 
		</div><!-- /place -->
		<!--新闻搜索-->
			<div class="ddwnewshead clear">
			<p>新闻搜索</p>
			</div>
			<div class="ddwnews">
				<ul class="my_page">
				 	<center>
				 	<form action="" method="post">
				 		<input type="text" id="searchkey" name="searchkey" size="25" placeholder="简短关键字,模糊匹配新闻标题" />
				 		<input type="submit" value="搜索新闻"/>
				 	</form>
					</center>
				</ul>
			</div>
		</form>
	<ul class="my_page">
	 <center>
		<%=PageUtil.getCurrPage(newsList)%>&nbsp;
		<%=PageUtil.getRecord(newsList)%>&nbsp;
		<%=PageUtil.getSinglePaginator(newsList,true)%>
	 </center>
	</ul>
		<!--//新闻搜索-->
		<div class="listbox">
			<ul class="e2">
			<%
			List newsLst = newsList.getList();
			for(int i=0;i<newsLst.size();i++){
			News news = (News) newsLst.get(i);
			%>
			<li>
				<a href="<%=Constants.URL %>/news/<%=news.getId() %>.html" class="title" target="_blank"><img src="<%=Constants.URL %>/images/ico-3.gif"  alt="pic"/>&nbsp;&nbsp;<%=news.getNewstitle() %></a>
				<span class="info">
					<!-- small>日期：</small><%=news.getCreatetime() %> -->
					<small>点击：</small><%=news.getHit() %>
				</span>
				<p class="intro">　　 <%=ProjectUtil.substring( news.getNewscontent(),0,270)%>...</p>
			</li>
			<%} %>
		</ul>
	</div>
	<ul class="my_page">
	 <center>
		<%=PageUtil.getCurrPage(newsList)%>&nbsp;
		<%=PageUtil.getRecord(newsList)%>&nbsp;
		<%=PageUtil.getSinglePaginator(newsList,true)%>
	 </center>
	</ul>
</div>

	<div class="arcpright">	
		<jsp:include page="/WEB-INF/jsp/bbs/bbsInclude.jsp"/>	
		<jsp:include page="/WEB-INF/jsp/ad/rightad4.jsp"/>
		<jsp:include page="/WEB-INF/jsp/news/fmNewsInclude.jsp"/>
	</div>
</div>

<jsp:include page="/foot.jsp"/> 

</body>
</html>